package com.esm.serviceimpl;

import com.esm.dao.AddRecordDao;
import com.esm.daoimpl.AddRecordDaoImpl;
import com.esm.service.AddRecordService;
/**
 * 添加考勤记录service实现
 * @author 康少
 *
 * 2017年1月9日
 */
public class AddRecordServiceImpl implements AddRecordService{
	AddRecordDao record = new AddRecordDaoImpl();
	/**
	 * 添加加班记录
	 */
	public boolean AddOvertime(int uid, String uname, String state, String time, String date, String remark) {
		// TODO Auto-generated method stub
		return record.AddOvertime(uid, uname, state, time, date, remark);
	}
	public boolean AddBtravel(int uid, String uname, String state, String time, String date, String remark) {
		// TODO Auto-generated method stub
		return record.AddBtravel(uid, uname, state, time, date, remark);
	}
	public boolean AddLeave(int uid, String uname, String state, String time, String date, String remark) {
		// TODO Auto-generated method stub
		return record.AddLeave(uid, uname, state, time, date, remark);
	}

}
